package com.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.entity.AssetAllocate;
import com.project.service.AssetAllocateService;
import com.project.mapper.AssetAllocateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author lenovo
 * @description 针对表【t_inout】的数据库操作Service实现
 * @createDate 2023-02-24 19:59:53
 */
@Service
public class AssetAllocateServiceImpl extends ServiceImpl<AssetAllocateMapper, AssetAllocate> implements AssetAllocateService {

    @Autowired
    private AssetAllocateMapper assetAllocateMapper;

    @Override
    public List<AssetAllocate> listAssetAllocate(Map<String, Object> map) {
        return assetAllocateMapper.listAssetAllocate(map);
    }

    @Override
    public long getAssetAllocateTotal(Map<String, Object> map) {
        return assetAllocateMapper.getAssetAllocateTotal(map);
    }
}




